<!--
 * @Date: 2021-10-31 11:41:57
 * @information: detail
-->
<template>
  <div id="detail">
    <el-card class="box-card">
      <template #header>
        <div class="card-header">
          <span>{{detailObj.title}}</span>
        </div>
      </template>
      <div>{{detailObj.body}}</div>
    </el-card>
  </div>
</template>

<script lang="ts">
import { mapState } from "vuex";

export default {
  setup() {},
  computed: {
    ...mapState("base", ["detailObj"]),
  },
};
</script>

<style lang="scss">
#detail {
  width: 60%;
  margin: 0 auto;
  padding: 50px 0;
  position: relative;
}
</style>

